import { $t } from "@/plugins/i18n";
import { bxj_media } from "@/router/enums";

export default {
  path: "/media",
  redirect: "/media/index",
  meta: {
    icon: "unjs:mkdist",
    title: $t("menus.bxj_media"),
    rank: bxj_media
  },
  children: [
    {
      path: "/media/index",
      name: "bxj_media_save",
      component: () => import("@/views/bxj/media/save/index.vue"),
      meta: {
        icon: "vscode-icons:default-root-folder",
        title: $t("menus.bxj_media_save")
      }
    },
    {
      path: "/media/examine",
      name: "bxj_media_examine",
      component: () => import("@/views/bxj/media/examine/index.vue"),
      meta: {
        icon: "streamline-emojis:construction",
        title: $t("menus.bxj_media_examine")
      }
    }
  ]
} satisfies RouteConfigsTable;
